LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
CopyTo Method
See Also 
Leadtools.Medical3D Namespace > Medical3DObjectCollection<Medical3DObject> Class : CopyTo Method



array
The one-dimensional array that is the destination of the elements copied from the current collection.
arrayIndex
The index at which copying begins.
array
The one-dimensional array that is the destination of the elements copied from the current collection.
arrayIndex
The index at which copying begins.
Copies all the elements of the collection to the specified one-dimensional array starting at the specified destination array index.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub CopyTo( _
   ByVal array() As Medical3DObject, _
   ByVal arrayIndex As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As Medical3DObjectCollection(Of Medical3DObject)
Dim array() As Medical3DObject
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
C# 
public virtual void CopyTo( 
   Medical3DObject[] array,
   int arrayIndex
)
C++/CLI 
public:
virtual void CopyTo( 
   array<Medical3DObject^>^ array,
   int arrayIndex
) 

Parameters

array
The one-dimensional array that is the destination of the elements copied from the current collection.
arrayIndex
The index at which copying begins.

Example

For an example, refer to RasterCollection.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features